package org.com.cctest.listview;



import org.com.cctest.R;
import org.com.cctest.adapter.HorizontalListViewAdapter;



import android.app.Activity;
import android.os.Bundle;
import android.view.MotionEvent;
import android.view.GestureDetector.OnGestureListener;

public class HorizontalListViewActivity extends Activity implements OnGestureListener{

	private HorizontalListViewAdapter hlva;
	private HorizontalListView hlv;
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.horizontallistview_act);
		hlv=(HorizontalListView)findViewById(R.id.horizontallistview1);
		hlva=new HorizontalListViewAdapter(this);
		hlva.notifyDataSetChanged();
		hlv.setAdapter(hlva);
	}
	private final  String  TAG="HorizontalListViewActivity";
	@Override
	public boolean onDown(MotionEvent e) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX,
			float velocityY) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public void onLongPress(MotionEvent e) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX,
			float distanceY) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public void onShowPress(MotionEvent e) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public boolean onSingleTapUp(MotionEvent e) {
		// TODO Auto-generated method stub
		return false;
	}

}
